//订单管理接口
import request from "@/utils/request.js"
//引入qs
import Qs from "qs"

//获取订单列表
export const getList_api = (params) => {
    return request({
        method: 'get',
        url: '/order/list',
        params: params
    })
}

//修改订单
export const editOrder_api = (params) => {
    return request({
        method: 'post',
        url: '/order/edit',
        data: Qs.stringify(params)
    })
}